<!DOCTYPE html>
<html lang="en">
<head>
    <base href="<%=basePath%>" />
    <meta http-equiv="Content-Type" content="text/html; charset=UTF-8">
    <title>欢迎使用后台管理系统</title>
    <link rel="stylesheet" type="text/css" href="h-ui/h-ui/css/H-ui.min.css" />
    <link rel="stylesheet" type="text/css" href="h-ui/h-ui.admin/css/H-ui.admin.css" />
    <link rel="stylesheet" type="text/css" href="lib/Hui-iconfont/1.0.8/iconfont.css" />
    <link rel="stylesheet" type="text/css" href="h-ui/h-ui.admin/skin/default/skin.css" id="skin" />
    <link rel="stylesheet" type="text/css" href="h-ui/h-ui.admin/css/style.css" />
    <script type="text/javascript" src="lib/jquery/1.9.1/jquery.min.js"></script>
    <script type="text/javascript" src="h-ui/h-ui/js/H-ui.min.js"></script>
    <script type="text/javascript" src="h-ui/h-ui.admin/js/H-ui.admin.js"></script>
</head>
<body>
    <form action="article/deleteArticleByIds.action" method="post" id="myform" name="myform">
        <table class="table table-border table-bordered table-bg">
            <thead>
            <tr class="text-c">
                <th width="25"><input type="checkbox" name="" value=""></th>
                <th>标题</th>
                <th>栏目</th>
                <th>是否置顶</th>
                <th>是否轮播</th>
                <th>发布日期</th>
                <th>点击数</th>
                <th>操作</th>
            </tr>
            </thead>

                <tr class="text-c">
                    <td><input type="checkbox" value="${article.articleid}" name="articleid"></td>
                    <td>${article.title}</td>
                    <td>${article.bannername}</td>
                    <td>${article.istop}</td>
                    <td>${article.isflv}</td>
                    <td>${article.addtime}</td>
                    <td>${article.hits}</td>
                    <td><a href="article/getArticleById.action?id=${article.articleid}" title="编辑"><i class="Hui-iconfont">&#xe6df;</i></a>&nbsp;&nbsp;<a
                            href="article/deleteArticle.action?id=${article.articleid}"
                            onclick="{if(confirm('确定要删除吗?')){return true;}return false;}" title="删除"><i class="Hui-iconfont">&#xe6e2;</i></a></td>
                </tr>

        </table>
    </form>
    <div class="cl pd-5 bg-1 bk-gray mt-20">
        <span class="r">${html } </span>
    </div>
</div>
<script type="text/javascript" src="lib/layer/2.4/layer.js"></script>
<script type="text/javascript" src="lib/datatables/1.10.0/jquery.dataTables.min.js"></script>
<script type="text/javascript" src="lib/laypage/1.2/laypage.js"></script>
<script type="text/javascript">
    /*批量删除*/
    function datadel() {
        if (confirm('确定要删除吗?')) {
            document.myform.submit();
        }
    }
</script>

</body>
</html>